package com.qf.jie.entity.po;

public class Order {

    private Integer id;
    private Long datetime;
    private Integer commodity_id;
    private Integer user_id_0;
    private Integer user_id_1;
    private Integer status;
    private String address;
    private String phone;

    public Order(){}
    public Order(Integer id, Long datetime, Integer commodity_id, Integer user_id_0, Integer user_id_1, Integer status, String address, String phone) {
        this.id = id;
        this.datetime = datetime;
        this.commodity_id = commodity_id;
        this.user_id_0 = user_id_0;
        this.user_id_1 = user_id_1;
        this.status = status;
        this.address = address;
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getDatetime() {
        return datetime;
    }

    public void setDatetime(Long datetime) {
        this.datetime = datetime;
    }

    public Integer getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(Integer commodity_id) {
        this.commodity_id = commodity_id;
    }

    public Integer getUser_id_0() {
        return user_id_0;
    }

    public void setUser_id_0(Integer user_id_0) {
        this.user_id_0 = user_id_0;
    }

    public Integer getUser_id_1() {
        return user_id_1;
    }

    public void setUser_id_1(Integer user_id_1) {
        this.user_id_1 = user_id_1;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", datetime=" + datetime +
                ", commodity_id=" + commodity_id +
                ", user_id_0=" + user_id_0 +
                ", user_id_1=" + user_id_1 +
                ", status=" + status +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
